// 封装所有与用户相关的接口函数
import request from '@/utils/http'

// 部分用户账户密码
/*
account	    password
cdshi0080	123456
cdshi0081	123456
cdshi0082	123456
cdshi0083	123456
cdshi0084	123456
cdshi0085	123456
cdshi0086	123456
cdshi0087	123456
cdshi0088	123456
*/

export const loginAPI = ({account,password}) => {
  return request({
    url: '/login',
    method: 'post',
    data: {
      account,
      password
    }
  })
}
export const getLikeListAPI = ({ limit = 4 }) => {
  return request({
    url:'/goods/relevant',
    params: {
      limit 
    }
  })
}

